FROM node:16

RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list && \
    apt update && \
    apt install -y net-tools && \
    apt install -y ncat && \
    apt install -y telnet

RUN npm config set registry https://registry.npm.taobao.org && \
    yarn config set registry https://registry.npm.taobao.org && \
    npm i -g @nestjs/cli

